package com.base.bean;

import java.sql.Timestamp;

/**
 * SessionUsrMsg entity. @author MyEclipse Persistence Tools
 */

public class SessionUsrMsg implements java.io.Serializable {

	// Fields

	private Integer id;
	private Integer sid;
	private Integer uid;
	private Timestamp created,expire;
	private String category,title;
	private String content;
	private String url;
	private Integer type;
	private Integer state,flag;  // trigger:是否有触发条件
	

	// Constructors

	/** default constructor */
	public SessionUsrMsg() {
	}

	public SessionUsrMsg(Integer sid, Integer uid,
			String title, String content, String url, Integer type,
			Integer state,Integer flag){
		this.sid = sid;
		this.uid = uid;
		this.title = title;
		this.content = content;
		this.url = url;
		this.type = type;
		this.state = state;
		this.flag =  flag;
		
		
	}
	
	/** full constructor */
	public SessionUsrMsg(Integer sid, Integer uid, Timestamp created,Timestamp expire,
			String category,String title, String content, String url, Integer type,
			Integer state,Integer flag) {
		this.sid = sid;
		this.uid = uid;
		this.created = created;
		this.expire = expire;
		this.category = category;
		this.title = title;
		this.content = content;
		this.url = url;
		this.type = type;
		this.state = state;
		this.flag =  flag;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getSid() {
		return this.sid;
	}

	public void setSid(Integer sid) {
		this.sid = sid;
	}

	public Integer getUid() {
		return this.uid;
	}

	public void setUid(Integer uid) {
		this.uid = uid;
	}

	public Timestamp getCreated() {
		return this.created;
	}

	public void setCreated(Timestamp created) {
		this.created = created;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getUrl() {
		return this.url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public Integer getType() {
		return this.type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getState() {
		return this.state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Timestamp getExpire() {
		return expire;
	}

	public void setExpire(Timestamp expire) {
		this.expire = expire;
	}


	public String getCategory() {
		return category;
	}

	public void setCategory(String category) {
		this.category = category;
	}

	public Integer getFlag() {
		return flag;
	}

	public void setFlag(Integer flag) {
		this.flag = flag;
	}



}